

.popup__wrap {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000000;
    background: var(--rbg650);
}

.popup__wrap-non {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000000;
    background: var(--rbg650);
}

.popup__container {
    min-width: 400px;
    max-width: 860px;
    background: var(--mainBg);
    border-radius: 6px;
    display: none;
    transition: cubic-bezier(.4, 0, .2, 1) .26s transform;
    transform: translateY(40px);
    animation-duration: .26s;
    animation-fill-mode: both;
    box-shadow: var(--boxPop);
    animation-name: animation-open-popup;
    padding: 20px 30px;
}

.form__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px 0;

    span {
        color: var(--black);
        font-weight: 400;
        font-size: 20px;
        display: block;
    }

    i {
        font-size: 21px;
        cursor: pointer;
        transition: all 0.1s linear;

        &:hover {
            color: var(--actHover);
        }
    }
}

.form__bth {
    display: flex;
    align-items: center;
    margin: 26px 0 0 0;

    button {
        display: block;
        outline: none;
        font-size: 14px;
        border: 0;
        margin: 0 0 0 16px;
        border-radius: 6px;
        font-family: var(--Nunito);
        cursor: pointer;
    }

    .form__cancel {
        background: transparent;
        color: var(--black);
        padding: 8px 12px;
        transition: all 0.2s linear;
    }

    .form__save {
        background: var(--activeFg);
        color: var(--bthFg);
        padding: 8px 24px;
        transition: all 0.2s linear;
    }
}

.form__cancel:hover {
    background: var(--fg500);
}

.form__save:hover {
    background: var(--actHover);
}

.form__bth-right {
    justify-content: right;
}

.form__label {

    span {
        margin: 0 0 6px 0;
        font-size: 14px;
        color: var(--black);
        font-weight: 400;
        display: block;
    }

}

.label__block {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--fg500);
    padding: 10px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease-in 0s;
    margin: 0 0 20px 0;

    i {
        font-size: 14px;
    }

    input {
        width: 100%;
        outline: 0;
        border: 0;
        height: 100%;
        margin: 0 0 0 10px;
        background: transparent;
        color: var(--mainFg);
    }
}

.label__block:hover {
    background: var(--mainBg);
    border-color: var(--activeFg);
}
